package com.dao;

import com.entity.GoldPoints;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoldPointsDao {
    //根据用户id更新积分或者金币的数量
    int insertGPInfo(@Param("gp")GoldPoints gp,@Param("cost_type") int cost_type);
    int insertGoldPoints(GoldPoints goldPoints);
    List<GoldPoints>selectGoldPointPageNo(@Param("goldPoints")GoldPoints goldPoints);
}
